.class Lrexsee/dialog/RexseeChronometer$1;
.super Ljava/lang/Object;
.source "RexseeChronometer.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/dialog/RexseeChronometer;->show(Ljava/lang/String;ILjava/lang/String;ZZZLjava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/dialog/RexseeChronometer;

.field private final synthetic val$highlightColor:Ljava/lang/String;

.field private final synthetic val$showElapse:Z

.field private final synthetic val$showRest:Z

.field private final synthetic val$showTotal:Z

.field private final synthetic val$style:Ljava/lang/String;

.field private final synthetic val$timeout:I

.field private final synthetic val$timeoutCallback:Ljava/lang/String;


# direct methods
.method constructor <init>(Lrexsee/dialog/RexseeChronometer;Ljava/lang/String;ILjava/lang/String;ZZZLjava/lang/String;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/dialog/RexseeChronometer$1;->this$0:Lrexsee/dialog/RexseeChronometer;

    iput-object p2, p0, Lrexsee/dialog/RexseeChronometer$1;->val$style:Ljava/lang/String;

    iput p3, p0, Lrexsee/dialog/RexseeChronometer$1;->val$timeout:I

    iput-object p4, p0, Lrexsee/dialog/RexseeChronometer$1;->val$timeoutCallback:Ljava/lang/String;

    iput-boolean p5, p0, Lrexsee/dialog/RexseeChronometer$1;->val$showTotal:Z

    iput-boolean p6, p0, Lrexsee/dialog/RexseeChronometer$1;->val$showElapse:Z

    iput-boolean p7, p0, Lrexsee/dialog/RexseeChronometer$1;->val$showRest:Z

    iput-object p8, p0, Lrexsee/dialog/RexseeChronometer$1;->val$highlightColor:Ljava/lang/String;

    .line 40
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lrexsee/dialog/RexseeChronometer$1;)Lrexsee/dialog/RexseeChronometer;
    .locals 1

    .prologue
    .line 40
    iget-object v0, p0, Lrexsee/dialog/RexseeChronometer$1;->this$0:Lrexsee/dialog/RexseeChronometer;

    return-object v0
.end method


# virtual methods
.method public run()V
    .locals 10

    .prologue
    .line 43
    iget-object v9, p0, Lrexsee/dialog/RexseeChronometer$1;->this$0:Lrexsee/dialog/RexseeChronometer;

    new-instance v0, Lrexsee/dialog/ChronometerDialog;

    iget-object v1, p0, Lrexsee/dialog/RexseeChronometer$1;->this$0:Lrexsee/dialog/RexseeChronometer;

    # getter for: Lrexsee/dialog/RexseeChronometer;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v1}, Lrexsee/dialog/RexseeChronometer;->access$0(Lrexsee/dialog/RexseeChronometer;)Lrexsee/core/browser/Browser;

    move-result-object v1

    iget-object v2, p0, Lrexsee/dialog/RexseeChronometer$1;->val$style:Ljava/lang/String;

    iget v3, p0, Lrexsee/dialog/RexseeChronometer$1;->val$timeout:I

    iget-object v4, p0, Lrexsee/dialog/RexseeChronometer$1;->val$timeoutCallback:Ljava/lang/String;

    const-string v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    const/4 v4, 0x0

    .line 48
    :goto_0
    iget-boolean v5, p0, Lrexsee/dialog/RexseeChronometer$1;->val$showTotal:Z

    iget-boolean v6, p0, Lrexsee/dialog/RexseeChronometer$1;->val$showElapse:Z

    iget-boolean v7, p0, Lrexsee/dialog/RexseeChronometer$1;->val$showRest:Z

    iget-object v8, p0, Lrexsee/dialog/RexseeChronometer$1;->val$highlightColor:Ljava/lang/String;

    invoke-direct/range {v0 .. v8}, Lrexsee/dialog/ChronometerDialog;-><init>(Lrexsee/core/browser/Browser;Ljava/lang/String;ILjava/lang/Runnable;ZZZLjava/lang/String;)V

    .line 43
    invoke-static {v9, v0}, Lrexsee/dialog/RexseeChronometer;->access$1(Lrexsee/dialog/RexseeChronometer;Lrexsee/dialog/ChronometerDialog;)V

    .line 49
    iget-object v0, p0, Lrexsee/dialog/RexseeChronometer$1;->this$0:Lrexsee/dialog/RexseeChronometer;

    # getter for: Lrexsee/dialog/RexseeChronometer;->mClock:Lrexsee/dialog/ChronometerDialog;
    invoke-static {v0}, Lrexsee/dialog/RexseeChronometer;->access$2(Lrexsee/dialog/RexseeChronometer;)Lrexsee/dialog/ChronometerDialog;

    move-result-object v0

    invoke-virtual {v0}, Lrexsee/dialog/ChronometerDialog;->start()V

    .line 50
    return-void

    .line 43
    :cond_0
    new-instance v4, Lrexsee/dialog/RexseeChronometer$1$1;

    iget-object v5, p0, Lrexsee/dialog/RexseeChronometer$1;->val$timeoutCallback:Ljava/lang/String;

    invoke-direct {v4, p0, v5}, Lrexsee/dialog/RexseeChronometer$1$1;-><init>(Lrexsee/dialog/RexseeChronometer$1;Ljava/lang/String;)V

    goto :goto_0
.end method
